From: Juanma Barranquero Date: Sun, 9 May 2004 22:15:14 +0000 (+0000) Subject: (remove-overlays, read-passwd): Fix docstring. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~22599 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=01187b417819703abaac2dd7e7044a50f3c96759;p=emacs.git (remove-overlays, read-passwd): Fix docstring. --- diff --git a/lisp/subr.el b/lisp/subr.el index f90b5f774cb..5453ee2e45b 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1280,7 +1280,7 @@ any other non-digit terminates the character code and is then used as input.")) (defun read-passwd (prompt &optional confirm default) "Read a password, prompting with PROMPT. Echo `.' for each character typed. End with RET, LFD, or ESC. DEL or C-h rubs out. C-u kills line. -Optional argument CONFIRM, if non-nil, then read it twice to make sure. +If optional CONFIRM is non-nil, read password twice to make sure. Optional DEFAULT is a default password to use instead of empty input." (if confirm (let (success) @@ -1534,8 +1534,8 @@ If MESSAGE is nil, instructions to type EXIT-CHAR are displayed there." (defun remove-overlays (&optional beg end name val) "Clear BEG and END of overlays whose property NAME has value VAL. -Overlays might be moved and or split. -BEG and END default to the beginning resp. end of buffer." +Overlays might be moved and/or split. +BEG and END default respectively to the beginning and end of buffer." (unless beg (setq beg (point-min))) (unless end (setq end (point-max))) (if (< end beg)